﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XLua;

[Hotfix]
public class CubeController : MonoBehaviour
{

	[LuaCallCSharp]
	public void RotateSelf() {
		transform.Rotate(Vector3.one * Time.deltaTime * 100);
	}


	// Update is called once per frame
	void Update() {
		RotateSelf();
	}
}
